export interface IUserData {
  list: IUserList[]
  count: number
}

export interface IUserList {
  id?: string
  name: string
  addr: string
  age: number | string
  birthday: string
  sex: number | string
}

export interface IConfig {
  name: string
  page?: number
  limit?: number
}

export interface IRouter {
  path: string
  name: string
  label: string
  icon: string
  url?: string
  redirect?: string
  component?: (() => void) | string
  children?: IRouter[]
}

export interface IUserLoginResult {
  message: string
  token?: string
  menuList?: IRouter[]
}
